package com.agou.app.admin.dbconfig.bean;

import java.io.IOException;
import java.sql.ResultSet;
import java.sql.SQLException;

import com.agou.core.ss.SSException;
import com.agou.ssh.core.base.BaseTableBean;
import com.agou.ssh.core.db.field.DateField;

/**
 * 管理员-用户信息
 * @author agou
 *
 */
public class TSAdminUser extends BaseTableBean{

	private static final long serialVersionUID = -6123315542470676705L;
	private long userId;// USER_ID;// N VARCHAR2(32) N 用户ID
	private String userLoginId;// USER_LOGIN_ID;// N VARCHAR2(20) N 用户登陆ID
	private String userName;// USER_NAME;// N VARCHAR2(60) N 用户名称
	private int isValid;// IS_VALID;// N NUMBER N 0：无效 1：有效
	private DateField createDate;// CREATE_DATE;// N DATE N 建立日期
	private String remark;// REMARK;// N VARCHAR2(100) N 备注
	
	public String toString(){
		StringBuilder sbStr = new StringBuilder();
		sbStr.append("userId = ").append(userId).append("\n");
		sbStr.append("userLoginId = ").append(userLoginId).append("\n");
		sbStr.append("userName = ").append(userName).append("\n");
		sbStr.append("isValid = ").append(isValid).append("\n");
		sbStr.append("createDate = ").append(createDate).append("\n");
		sbStr.append("remark = ").append(remark).append("\n");
		sbStr.append("==========================").append("\n");
		return sbStr.toString();
	}

	public long getUserId() {
		return userId;
	}

	public void setUserId(long userId) {
		this.userId = userId;
	}

	public String getUserLoginId() {
		return userLoginId;
	}

	public void setUserLoginId(String userLoginId) {
		this.userLoginId = userLoginId;
	}

	public String getUserName() {
		return userName;
	}

	public void setUserName(String userName) {
		this.userName = userName;
	}

	public int getIsValid() {
		return isValid;
	}

	public void setIsValid(int isValid) {
		this.isValid = isValid;
	}

	public DateField getCreateDate() {
		return createDate;
	}

	public void setCreateDate(DateField createDate) {
		this.createDate = createDate;
	}

	public String getRemark() {
		return remark;
	}

	public void setRemark(String remark) {
		this.remark = remark;
	}

	@Override
	public void fill(ResultSet rs) throws SSException, SQLException,
			IOException {
		
	}

}
